home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / ophel001.swf / scripts / DefineButton2_1007 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2010-08-12  |  625 b   |  22 lines

  1. on(release){
  2.    set("/Variables:VaVers01","PontMilieu2");
  3.    loadVariablesNum("/arcane/tracking/tracking.html?episode=7&stage=34",0);
  4.    if(eval("/Variables:CarreauxAttaches") == true and eval("/Variables:LunetteMise") == false and eval("/Variables:PositionPerso") eq "PontMilieu2")
  5.    {
  6.       if(eval("/Variables:ArbalettePrescott") == false)
  7.       {
  8.          tellTarget(_root)
  9.          {
  10.             gotoAndStop("Sc25f");
  11.          }
  12.       }
  13.       if(eval("/Variables:ArbalettePrescott") == true)
  14.       {
  15.          tellTarget(_root)
  16.          {
  17.             gotoAndStop("Sc25g");
  18.          }
  19.       }
  20.    }
  21. }
  22.